package com.jk.controller;

import com.jk.entity.PersonalDataEntity;
import com.jk.service.PersonalDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpSession;

/**
 * @author 位佳生
 * @title: PersonalDataController
 * @projectName springboot_financial
 * @description: TODO
 * @date 2022/11/319:21
 */
@RestController
@RequestMapping("personal")
public class PersonalDataController {
    @Autowired
    private PersonalDataService personalDataService;

    /*
    *
     * @Author 位佳生
     * @Description //TODO 修改当前用户个人详细信息
     * @Date 2022/11/9 14:39
     * @param personalDataEntity: 
 * @param session: 
     * @return: void
     **/
    @RequestMapping("personalDataSave")
    public void personalDataSave(PersonalDataEntity personalDataEntity, HttpSession session){
        personalDataService.personalDataSave(personalDataEntity,session);
    }

}
